package com.caiheng.api.entity.attendance;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 考勤的 调休假期对象 attendance_off_work
 *
 * @author ruoyi
 * @date 2022-09-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("attendance_off_work")
public class AttendanceOffWork implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 考勤组id
     */
    private Integer groupId;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 加班还是 休息  0 - 休息 1 - 加班（调休）
     */
    private Integer onOrOff;

}
